#!/bin/bash
mkdir -p ./log
now=`date "+%Y%m%d%H%M%S"`
jarFile="./build/libs/s7buy-pay.jar"
logFile="./log/"${now}".log"
nohup java -jar ${jarFile} > ${logFile} 2>&1 & echo $! > run.pid
echo "[s7buy_pay.app] 正在启动中 logFile:"${logFile}
sleep 60
echo "[s7buy_pay.app] 启动完成!"